<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    //1.声明数组 有序
    let arr = ['刘德华','张学友','黎明','郭富城',10]
    // 2.使用数组 数组名[索引号] 从0
    console.log(arr[0]);
    //3.数组长度  索引号 + 1
    console.log(arr.length);// 5
  </script>
</body>
</html>